﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using System.Data.Entity;
//using ALS.Contracts;
//using ALS.Repository.Contexts;
//using ALS.Poco;

namespace ALS.UnitTest
{
    [TestClass]
    public class DefaultTest
    {
        //[TestMethod]
        //public void DBTester()
        //{
        //    var context = new AlsDataContext();
        //    context.AlsOrders.Add(new AlsOrderPoco() { ErpID = "23", TradeID = 14232 });
        //    context.SaveChanges();
        //}

        //[TestMethod]
        //public void TestMethod1()
        //{
            
        //    var request = new ImportTaobaoOrdersRequestContract() { TaobaoOrders = new List<TaobaoOrderDTO>() };
        //    request.TaobaoOrders.Add(new TaobaoOrderDTO() { ErpOrderID="erp1", TaobaoOrderID="taobao1" });
        //    OrderService service = new OrderService();
        //    service.ImportTaobaoOrders(request);
        //}
    }
}
